home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 2.toast / pc / sample code / networking / pgpuam / sources / tasipkeypane.h < prev    next >
Encoding:
Text File  |  2000-06-23  |  1.9 KB  |  71 lines

  1. //    TASIPKeyPane.h -  AppleShare IP Dialog Pane Object
  2. // 
  3. // Apple Macintosh Developer Technical Support
  4. // Written by:  Vinnie Moscaritolo
  5. //
  6. //  Copyright (work in progress)  Apple Computer, Inc All rights reserved.
  7. //
  8. // You may incorporate this sample code into your applications without
  9. // restriction, though the sample code has been provided "AS IS" and the
  10. // responsibility for its operation is 100% yours.  However, what you are
  11. // not permitted to do is to redistribute the source as "DSC Sample Code"
  12. // after having made changes. If you're going to re-distribute the source,
  13. // we require that you make it clear in the source that the code was
  14. // descended from Apple Sample Code, but that you've made changes.
  15. // 
  16.  
  17. #ifndef _H_TASIPKEYPANE
  18. #define _H_TASIPKEYPANE
  19.  
  20. #include <TPane.h>
  21. #include "TASIPPGPkey.h"
  22.  
  23.  
  24.  
  25. // ---------------------------------------------------------------------------
  26. //     TPane  - base class for Dialog Pane Object
  27. // ---------------------------------------------------------------------------
  28. // 
  29. class TASIPKeyPane : public TPane
  30. {
  31. public:
  32.   
  33. //     CONSTRUCTORS AND DESTRUCTORS
  34.               TASIPKeyPane( DialogPtr dialog, SInt16 origItems, TASIPPGPkey* serverKey);
  35.              
  36.     virtual  ~TASIPKeyPane();    
  37.  
  38. // MAIN INTERFACE
  39.     virtual void Refresh();
  40.     virtual void ItemHit(SInt16 item);
  41.     virtual void Idle();
  42.     virtual Boolean HandleMouseDown(EventRecord *) ;
  43.    
  44. // PRIVATE FIELDS
  45. protected:
  46.      TASIPPGPkey*    fKey;
  47.  
  48.  
  49.      ControlHandle  fKeyDragBox;
  50.      ControlHandle  fKeyExpiresTitle;
  51.     ControlHandle  fKeyCreateDate;
  52.     ControlHandle  fKeyExpiredDate;
  53.     ControlHandle  fKeySize;
  54.     ControlHandle  fKeyType;
  55.     ControlHandle  fKeyName;
  56.     ControlHandle  fFingerPrint;
  57.     ControlHandle  fKeyValidValue;
  58.     ControlHandle  fKeyTrustValue;
  59.     ControlHandle  fKeyExpiredIcon;
  60.     ControlHandle  fKeyInfoBox;
  61.     ControlHandle  fKeyTrustBox;
  62.     ControlHandle  fKeyFPBox;
  63.     ControlHandle  fKeyDetailsBox;
  64.     
  65.          
  66. };
  67.  
  68. #endif
  69.  
  70.  
  71.